﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using ALDIOrganizer.Properties;

namespace ALDIOrganizer
{
    public static partial class SQLiteAccess
    {
        #region defaults
        public static string GetDefaultPath
        {
            get
            {
                return String.Concat(
                    Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location),
                    "\\",
                    Resources.DEFAULT_FOLDER_SQLiteFiles);

            }
        }

        public static string GetDefaultFileName
        {
            get
            {
                return Settings.Default.SQLite_DefaultFileName;
            }
        }

        public static string GetDefaultExtension
        {
            get
            {
                return Settings.Default.SQLite_DefaultFileExtension;
            }
        }

        public static string GetFullDefaultPathAndFileName
        {
            get
            {
                return String.Concat(GetDefaultPath, @"\",
                    GetDefaultFileName, @".",
                    GetDefaultExtension);
            }
        }
        #endregion
        
    }
}
